<template>
  <div class="home">
    <el-button @click="logOut">退出登录</el-button>
    <img alt="Vue logo" src="../assets/logo.png">
    
  </div>
</template>

<script>


export default {
  name: 'Home',
  methods: {
    logOut(){
      this.$cookie.delete('loginAuth');
      this.$router.push("/login")
    }
  },
}
</script>
